package net.osweb.crm.modules.sales.bean;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Proofaudithistory entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sales_proofaudithistory")
public class ProofAudithistory implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -4956783910934968615L;
	private Integer id;
	private Integer userid;
	private String proofid;
	private String proofnumber;
	private String auditUser;
	private String auditType;
	private Integer isavailability;
	private Timestamp createtime;
	private Integer isPass;
	private Timestamp auditdate;
	private String comment;
	private Timestamp userviewtime;

	// Constructors

	/** default constructor */
	public ProofAudithistory() {
	}

	/** full constructor */
	public ProofAudithistory(Integer userid, String proofid,
			String proofnumber, String auditUser, String auditType,
			Integer isavailability, Timestamp createtime, Integer isPass,
			Timestamp auditdate, String comment, Timestamp userviewtime) {
		this.userid = userid;
		this.proofid = proofid;
		this.proofnumber = proofnumber;
		this.auditUser = auditUser;
		this.auditType = auditType;
		this.isavailability = isavailability;
		this.createtime = createtime;
		this.isPass = isPass;
		this.auditdate = auditdate;
		this.comment = comment;
		this.userviewtime = userviewtime;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "userid")
	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	@Column(name = "proofid")
	public String getProofid() {
		return this.proofid;
	}

	public void setProofid(String proofid) {
		this.proofid = proofid;
	}

	@Column(name = "proofnumber", length = 127)
	public String getProofnumber() {
		return this.proofnumber;
	}

	public void setProofnumber(String proofnumber) {
		this.proofnumber = proofnumber;
	}

	@Column(name = "auditUser", length = 127)
	public String getAuditUser() {
		return this.auditUser;
	}

	public void setAuditUser(String auditUser) {
		this.auditUser = auditUser;
	}

	@Column(name = "auditType", length = 127)
	public String getAuditType() {
		return this.auditType;
	}

	public void setAuditType(String auditType) {
		this.auditType = auditType;
	}

	@Column(name = "isavailability")
	public Integer getIsavailability() {
		return this.isavailability;
	}

	public void setIsavailability(Integer isavailability) {
		this.isavailability = isavailability;
	}

	@Column(name = "createtime", length = 19)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	@Column(name = "isPass")
	public Integer getIsPass() {
		return this.isPass;
	}

	public void setIsPass(Integer isPass) {
		this.isPass = isPass;
	}

	@Column(name = "auditdate", length = 19)
	public Timestamp getAuditdate() {
		return this.auditdate;
	}

	public void setAuditdate(Timestamp auditdate) {
		this.auditdate = auditdate;
	}

	@Column(name = "comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	@Column(name = "userviewtime", length = 19)
	public Timestamp getUserviewtime() {
		return this.userviewtime;
	}

	public void setUserviewtime(Timestamp userviewtime) {
		this.userviewtime = userviewtime;
	}

}